package com.vietnam.power.domain;

import java.util.Date;

import com.vietnam.power.persistence.Category;
import com.vietnam.power.persistence.Location;

public class ProductDTO {
	
	private Long productId;
	private Date createdDate;
	private boolean deleted;
	private String description;
	private String productName;
	private boolean sold;
	private String unitPrice;
	private String location;
	private Category category;
	/**
	 * @return the productId
	 */
	public Long getProductId() {
		return productId;
	}
	/**
	 * @param productId the productId to set
	 */
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	/**
	 * @param productId
	 * @param createdDate
	 * @param deleted
	 * @param description
	 * @param productName
	 * @param sold
	 * @param unitPrice
	 * @param location
	 * @param category
	 */
	public ProductDTO(Long productId, Date createdDate, boolean deleted,
			String description, String productName, boolean sold,
			String unitPrice, String location, Category category) {
		this.productId = productId;
		this.createdDate = createdDate;
		this.deleted = deleted;
		this.description = description;
		this.productName = productName;
		this.sold = sold;
		this.unitPrice = unitPrice;
		this.location = location;
		this.category = category;
	}
	/**
	 * @return the createdDate
	 */
	public Date getCreatedDate() {
		return createdDate;
	}
	/**
	 * @param createdDate the createdDate to set
	 */
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	/**
	 * @return the deleted
	 */
	public boolean isDeleted() {
		return deleted;
	}
	/**
	 * @param deleted the deleted to set
	 */
	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the productName
	 */
	public String getProductName() {
		return productName;
	}
	/**
	 * @param productName the productName to set
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}
	/**
	 * @return the sold
	 */
	public boolean isSold() {
		return sold;
	}
	/**
	 * @param sold the sold to set
	 */
	public void setSold(boolean sold) {
		this.sold = sold;
	}
	/**
	 * @return the unitPrice
	 */
	public String getUnitPrice() {
		return unitPrice;
	}
	/**
	 * @param unitPrice the unitPrice to set
	 */
	public void setUnitPrice(String unitPrice) {
		this.unitPrice = unitPrice;
	}
	/**
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}
	/**
	 * @param location the location to set
	 */
	public void setLocation(String location) {
		this.location = location;
	}
	/**
	 * @return the category
	 */
	public Category getCategory() {
		return category;
	}
	/**
	 * @param category the category to set
	 */
	public void setCategory(Category category) {
		this.category = category;
	}
	
}
